package com.japancompany.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/business")
public class BusinessController {

    @GetMapping("/study-abroad")
    public String studyAbroad(Model model) {
        model.addAttribute("title", "留学服务");
        return "study-abroad";
    }

    @GetMapping("/labor-dispatch")
    public String laborDispatch(Model model) {
        model.addAttribute("title", "劳务派遣");
        return "labor-dispatch";
    }

    @GetMapping("/it-service")
    public String itService(Model model) {
        model.addAttribute("title", "IT服务");
        return "it-service";
    }
}